Component({
    options: {
        styleIsolation: 'apply-shared'
    },
    properties: {
        imgHost: {
            type: String
        },
        data: {
            type: Object
        },
        index: { type: Number }
    },
    methods: {
        toGoodDetail(e) {
            const { id } = e.currentTarget.dataset
            this.triggerEvent('toGoodDetail', id)
        }
    }
})